#ifndef WORKER_H
#define WORKER_H

#include <QObject>

class Worker : public QObject
{
    Q_OBJECT
public:
    explicit Worker(QObject *parent = nullptr);

signals:
    void caculate_over(int rst);

public slots:
    void do_caculate(int x, int y);

};

#endif // WORKER_H
